package br.com.peri;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.validation.constraints.NotNull;

import br.com.peri.entity.PeriEntity;
import br.com.peri.enums.StatusUsuario;

@Entity
@SequenceGenerator(name = "web_usuario_seq", sequenceName = "web_usuario_seq")
@Table(name = "web_usuario")
public class Usuario extends PeriEntity {

	private static final long serialVersionUID = 1L;

	private Long id;
	private String nome;
	private String email;
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "web_usuario_seq")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getNome() {
		return nome;
	}
	public void setNome(String nome) {
		this.nome = nome;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
}
